<?php

require_once "core/application/models/msearch/msearch1.php";

class Msearch2 extends Msearch1 {

    protected function numRows($name) {
        DB::getInstance()->openConnectionToGS();
        if (mysql_num_rows($this->startSearch($name))) {
            return true;
            DB::getInstance()->closeConnection();
        } else {
            return false;
            DB::getInstance()->closeConnection();
        }
    }

}

?>
